home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_147 / sys / prime / prime.zoo / sysdef.h < prev    next >
C/C++ Source or Header  |  1988-07-25  |  1KB  |  40 lines

  1. /*
  2.  * Prime specific definitions for MicroGnuEmacs 2a
  3.  */
  4. #include <stdio.h>
  5.  
  6. #define           PCC               /* "[]" gets an error.              */
  7. #define           KBLOCK  1024           /* Kill grow.                  */
  8. #define           GOOD    0           /* Good exit status.              */
  9. #define           NO_RESIZE           /* screen size is constant          */
  10. #define           MAXPATH 256
  11.  
  12. /* typedefs for gnu version */
  13. typedef int    RSIZE;           /* Type for file/region sizes   */
  14. typedef short  KCHAR;           /* Type for internal keystrokes */
  15.  
  16. /*
  17.  * Macros used by the buffer name making code.
  18.  * Start at the end of the file name, scan to the left
  19.  * until BDC1 (or BDC2, if defined) is reached. The buffer
  20.  * name starts just to the right of that location, and
  21.  * stops at end of string (or at the next BDC3 character,
  22.  * if defined). BDC2 and BDC3 are mainly for VMS.
  23.  */
  24. #define           BDC1    '>'
  25.  
  26. #define bcopy(from,to,len)      if(1) {\
  27.     register char *from_=from, *to_=to; register int len_=len;\
  28.     while(len_--) *to_++ = *from_++;} else
  29.  
  30. #define MALLOCROUND(m) (m+=7, m&=~7)   /* round to 8 byte boundary */
  31.  
  32. char *gettermtype();    /* #define fails because of static storage */
  33.  
  34. #define unlink(f)    delete(f)
  35. #define unlinkdir(f) delete(f)
  36.  
  37. #ifdef DO_METAKEY
  38. #define METABIT 0400
  39. #endif
  40.